package com.lxk.dao;

import com.lxk.pojo.Onsale;
import com.lxk.pojo.OnsaleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OnsaleMapper {
    long countByExample(OnsaleExample example);

    int deleteByExample(OnsaleExample example);

    int deleteByPrimaryKey(Integer onsaleId);

    int insert(Onsale record);

    int insertSelective(Onsale record);

    List<Onsale> selectByExample(OnsaleExample example);

    Onsale selectByPrimaryKey(Integer onsaleId);

    int updateByExampleSelective(@Param("record") Onsale record, @Param("example") OnsaleExample example);

    int updateByExample(@Param("record") Onsale record, @Param("example") OnsaleExample example);

    int updateByPrimaryKeySelective(Onsale record);

    int updateByPrimaryKey(Onsale record);
}